<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>   
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>  
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 
        <%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()

            + path + "/";
    String serverPath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort();
%>
<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>登录成功</title>

    <!-- Bootstrap -->
    <link <% out.print("href=\""+ basePath + "css/bootstrap.min.css\"");%> rel="stylesheet">
<link <% out.print("href=\""+ basePath + "css/bootstrap-theme.min.css\"");%> rel="stylesheet">
 <link <% out.print("href=\""+ basePath + "css/custom.css\"");%> rel="stylesheet">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script <%out.print("src=\""+ basePath+"js/html5shiv.min.js\"");%>></script>
      <script <%out.print("src=\""+basePath+"js/1.4.2/respond.min.js\"");%>></script>
    <![endif]-->
  </head>
  <body>
    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
      <div class="container">
        <div class="navbar-header">
           <button type="button" class="btn btn-default btn-lg">
          <span class="glyphicon glyphicon-tags"></span>
        </button>
        </div>
        <div class="navbar-collapse collapse">
          <form class="navbar-form navbar-right"  role="form">
            <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" onclick="javascript:location.href='personalinfo.do'">            
                        欢迎<c:out value="${username}" />登录 <span class="caret"></span>           
           </button>
          </form>
        </div><!--/.navbar-collapse -->
      </div>
    </div>
 <div class="jumbotron">
      <div class="container">
        <h1>登录成功</h1>
        <p>登陆成功:<c:out value="${emsg}"/></p>
      </div>
    </div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script <%out.print("src=\""+ basePath+"js/jquery.min.js\"");%>></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script <%out.print("src=\""+basePath+"js/bootstrap.min.js\"");%>"></script> 
</body> 
</html>